package cn.wgx.study.module.web;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("api/res")
public class ResCtrl {

    @GetMapping("get")
    public Map getRes(){
        Map map = new HashMap();
        map.put("success","beautiful");

        return map;
    }

}
